package com.youpai.platform;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @date: 2022/6/23 10:39
 * @author: Anna
 * @version: 1.0
 * @description: 引导类
 */
@SpringBootApplication(scanBasePackages = {"com.youpai.platform"})
@MapperScan(value = {
        "com.youpai.platform.user.service.mapper",
        "com.youpai.platform.biggod.service.mapper",
        "com.youpai.platform.order.service.mapper",
        "com.youpai.platform.wallet.service.mapper",
        "com.youpai.platform.chat.service.mapper"})
@EnableScheduling
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class);
        System.out.println("##################################### vulture-service start !");
    }

}
